
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}
body{line-height:1;}
ol,ul,li{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
table{border-collapse:collapse;border-spacing:0;}


body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #fff;
  font-family: Arial, sans-serif;
}


.topbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 59px;
  border-bottom: 1px solid #e5e5e5;
  background: #f5f5f5;
	z-index: 100;
  -webkit-user-select: none;
}

html[data-product=search] .topbar {
  background: #fff;
  border-color: #fff;
}

.searchbox {
  position: absolute;
  left: 220px;
  top: 4px;
  bottom: 0;
  width: 596px;
  height: 29px;
  margin: auto 0;
  background: url(/static/images/searchbox.png) no-repeat;
}

html[data-product=search] .searchbox {
  display: none;
}

#customize-overlay {
	width: 100%; 
	height: 100%; 
	background-color: white; 
	position: absolute; 
	z-index: 100; 
	opacity: 0;
	visibility: hidden;
}

#customize-overlay.customize-overlay-transition {
  -webkit-transition: .1s ease-out;
  -webkit-transition: visibility, opacity;
}

#customize-overlay.customize-overlay-visible {
	opacity: 0.7;
	visibility: visible;
}



.logo {
  position: absolute;
  left: 42px;
  top: 18px;
  width: 90px;
  height: 31px;
/*  background: url(images/google.png) no-repeat 0 0;*/
  cursor: pointer;
  -webkit-user-select: none;

}

.logo {
	background-image: url(/static/images/google-gray.png);
}
/*.logo:hover {
  background-image: url(/static/images/google-gray-hover.png) !important;
}*/


/* --- misc --- */

#search-logo {
	display: block;
	height: 51px;
  left: 47px;
	top: 16px;
	color: #666;
	line-height: 44px;
	text-decoration: none;
//	border-left: 1px solid #E5E5E5;
  position: absolute;
  font-size: 20px;
  font-weight: normal;
  -webkit-transition: .1s left ease-out;
}

#search-logo.page-narrower {
  left: 100px;
}

#search-logo.page-narrowest {
  display: none;
}

html[data-product=search] #search-logo,
html[data-product=search] #top-google-logo {
  display: none;
}


.social {
  position: absolute;
  right: 42px;
  top: 4px;
  bottom: 0;
	width: 251px;
	height: 30px;
  margin: auto 0;
  background: url(/static/images/social.png) no-repeat;
}

.app-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 58px;
  bottom: 0;
  /*background: url(/static/images/bg/search.png) no-repeat 0 0;*/
	background-repeat:no-repeat;
	-webkit-transition: .1s left ease-out;
}

.app-bg.page-narrower {
  left: 60px;
}

.app-bg.page-narrowest {
  left: 205px;
}

.app-bg-shield {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

	
	background-image: -webkit-gradient(
		linear,
		left top,
		right bottom,
		color-stop(0.2, rgba(255,255,255,0)),
		color-stop(0.5, rgba(255,255,255,0.8)),
		color-stop(1, rgba(255,255,255,1))
	);

/*  background: rgba(255,255,255,.6);*/
}

.app-bg-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 72px;
  height: 96px;
  margin: auto 0;
  font-size: 96px;
  color: rgba(0,0,0,.4);
  text-align: center;
}

html[data-product=search] .app-bg {
  background-image: url(/static/images/bg/search2.png);
  background-position: center center;
}

html[data-product=serp] .app-bg {
  bottom: 73px;
  background-image: url(/static/images/bg/search3.jpg);
}

html[data-product=images] .app-bg {
  bottom: 73px;
  background-image: url(/static/images/bg/images.jpg);
}

html[data-product=serp] .app-bg {
  bottom: 73px;
  background-image: url(/static/images/bg/search3.jpg);
}

html[data-product=mail] .app-bg {
  background-image: url(/static/images/bg/mail2.jpg);
}

html[data-product=maps] .app-bg {
  background-image: url(/static/images/bg/maps.jpg);
}

html[data-product=plus] .app-bg {
  background-image: url(/static/images/bg/plus.jpg);
}

html[data-product=news] .app-bg {
  background-image: url(/static/images/bg/news.jpg);
}


html[data-product=docs] .app-bg {
  background-image: url(/static/images/bg/docs.jpg);
	margin-left: -15px;
}
html[data-product=calendar] .app-bg {
  background-image: url(/static/images/bg/calendar.jpg);
}
html[data-product=drive] .app-bg {
  background-image: url(/static/images/bg/drive.jpg);
}

html[data-product=youtube] .app-bg {
	background-color: #EBEBEB;
  background-image: url(/static/images/bg/youtube.jpg);
	background-position-x: 50%;
}

html[version=wireframe][data-product=youtube] .app-bg {
	background-color: white;
  background-image: url(/static/images/bg/youtube.jpg);
	background-position-x: 50%;
}



html[data-product=search] .app-bg-shield,
html[data-product=serp] .app-bg-shield,
html[data-product=mail] .app-bg-shield,
html[data-product=maps] .app-bg-shield {
/*  display: none;*/
}

html[data-product=search] .app-bg-shield,
html[data-product=search] .app-bg-label {
   display: none;
}

html[data-product=search] .app-bg-label,
html[data-product=serp] .app-bg-label,
html[data-product=mail] .app-bg-label,
html[data-product=maps] .app-bg-label {
/*  display: none;*/
}	



html[data-product=search] .app-bg {
  background-image: url(/static/images/bg/search2.png);
  background-position: center center;
}

html[data-product=serp] .app-bg {
  bottom: 73px;
  background-image: url(/static/images/bg/search3.jpg);
}

html[data-product=images] .app-bg {
  bottom: 73px;
  background-image: url(/static/images/bg/images.jpg);
}

html[data-product=serp] .app-bg {
  bottom: 73px;
  background-image: url(/static/images/bg/search3.jpg);
}

html[data-product=mail] .app-bg {
  background-image: url(/static/images/bg/mail2.jpg);
}

html[data-product=maps] .app-bg {
  background-image: url(/static/images/bg/maps.jpg);
}

html[data-product=plus] .app-bg {
  background-image: url(/static/images/bg/plus.jpg);
}

html[data-product=news] .app-bg {
  background-image: url(/static/images/bg/news.jpg);
}


html[data-product=docs] .app-bg {
  background-image: url(/static/images/bg/docs.jpg);
	margin-left: -15px;
}
html[data-product=calendar] .app-bg {
  background-image: url(/static/images/bg/calendar.jpg);
}
html[data-product=drive] .app-bg {
  background-image: url(/static/images/bg/drive.jpg);
}

html[data-product=youtube] .app-bg {
	background-color: #EBEBEB;
  background-image: url(/static/images/bg/youtube.jpg);
	background-position-x: 50%;
}


@each $product in search, serp, images, serp, mail, maps, plus, news, docs, calendar, drive, youtube {
  html[data-product="#{$product}"] .app-bg-label {
    content: 'FAILFAIL';
    display: none;
  }

  html[version=wireframe][data-product="#{$product}"] .app-bg-label {
    display: block !important;
  }

	html[version=wireframe][data-product="#{$product}"] .app-bg {
		background-image: none;
	}
}

@-webkit-keyframes task-flash {
  0% { opacity: 0; -webkit-animation-timing-function: ease-out; }
  10% { opacity: 1; -webkit-animation-timing-function: linear; }
  100% { opacity: 0; }
}

.logRecord,
.logStartTask {
  display: none;
  position: fixed;
  z-index: 1000000;
  right: 50px;
  bottom: 50px;
  width: 200px;
  height: 200px;
  border-radius: 100px;
  line-height: 200px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 80px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: -webkit-radial-gradient(50% 25%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .0));
  text-shadow: 0 -1px 1px rgba(0, 0, 0, .25);
  box-shadow: inset 0 -10px 10px rgba(0,0,0,.1),
              0 5px 5px rgba(0,0,0,.2);
              
  &:hover {
    background-image: -webkit-radial-gradient(50% 25%, rgba(255, 255, 255, .375), rgba(255, 255, 255, .0));
  }

  &:active {
    box-shadow: inset 0 -10px 10px rgba(0,0,0,.1),
                0 1px 1px rgba(0,0,0,.2);
    -webkit-transform: translateY(2px);
  }
}

.logRecord {
  border-color: #500;
  background-color: #a00;
}

.logStartTask {
  border-color: #050;
  background-color: #0a0;
}

.logTaskFlash {
  display: block;
}

